﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Admin/Admin.master" AutoEventWireup="true"
    CodeFile="CategoryDetail.aspx.cs" Inherits="WebTeamplate.Admin_CategoryDetail" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="Server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="Server">
    <table class="small" border="0" cellpadding="0" cellspacing="0" width="100%">
        <tr>
            <td colspan="2" class="detailedViewHeader">
                <b>Category Information</b>
              
            </td>
        </tr>
        <tr class="rowDetail" align="right">
            <td colspan="2" class="dvtCellLabel">  (<span class="commentRequireInput">*</span>): <span class="commentRequireInputText"><%=Resources.Resource.LABEL_COMMENT_REQUIRE %> </span></td>
        </tr>
        <tr class="rowDetail">
            <td class="dvtCellLabel"  width="150px">
                
                <asp:Label ID="lblCategoryId" runat="server" Text="Category Id"></asp:Label>(<span class="commentRequireInput">*</span>):
            </td>
            <td class="dvtCellInfo">
                <asp:TextBox ID="txtCategoryId" runat="server" Width="30px" MaxLength="2" onblur="this.className='detailedViewTextBox'"
                    onfocus="this.className='detailedViewTextBoxOn'" CssClass="detailedViewTextBox"></asp:TextBox>
                    <asp:RequiredFieldValidator ID="refvCategoryId" ControlToValidate="txtCategoryId" runat="server" SetFocusOnError="true">*</asp:RequiredFieldValidator>
            </td>
        </tr>
         <tr class="rowDetail">
            <td class="dvtCellLabel">              
                <asp:Label ID="lblName" runat="server" Text="Category Name"></asp:Label>(<span class="commentRequireInput">*</span>):
            </td>
            <td class="dvtCellInfo">
                <asp:TextBox ID="txtCategoryName" runat="server" Width="200px" MaxLength="100" onblur="this.className='detailedViewTextBox'"
                    onfocus="this.className='detailedViewTextBoxOn'" CssClass="detailedViewTextBox"></asp:TextBox>
                       <asp:RequiredFieldValidator ID="refvCategoryName" ControlToValidate="txtCategoryName" runat="server" SetFocusOnError="true">*</asp:RequiredFieldValidator>
            </td>
        </tr>
            <tr class="rowDetail">
            <td class="dvtCellLabel">              
                <asp:Label ID="lblPublish" runat="server" Text="Publish"></asp:Label>(<span class="commentRequireInput">*</span>):
            </td>
            <td class="dvtCellInfo">
                <asp:DropDownList ID="drlPublish" CssClass="small" runat="server"></asp:DropDownList>
                 <asp:RequiredFieldValidator ID="refvPublish" ControlToValidate="drlPublish" runat="server" SetFocusOnError="true">*</asp:RequiredFieldValidator>
            </td>
        </tr>
        <tr>
            <td>
            </td>
            <td align="left" style="padding: 5px;">
                
                    <asp:Button ID="btnSave" runat="server" CssClass="crmbutton 
small save" Text="Save" onclick="btnSave_Click" CausesValidation="true" />
                    <asp:Button ID="btnCacel" runat="server" CssClass="crmbutton 
small cancel" Text="Cancel" onclick="btnCacel_Click" CausesValidation="false" />
                
            </td>
        </tr>
        <tr>
        <td align="center">
            <asp:ValidationSummary ID="vsumCategory" runat="server" ShowMessageBox="true" ShowSummary="false" />
            <asp:Label ID="lblErrorMessage" runat="server" CssClass="errorMessage"></asp:Label>
        </td>
        </tr>
    </table>
</asp:Content>
